// UserListResponse.java
package com.example.app3_1;

import com.google.gson.annotations.SerializedName;
import java.util.List;

public class UserListResponse {
    private int page;

    @SerializedName("per_page")
    private int perPage;

    private int total;

    @SerializedName("total_pages")
    private int totalPages;

    private List<User> data;

    // 添加支持对象，虽然可能用不到但确保完整性
    private Support support;

    public List<User> getData() {
        return data;
    }

    public int getPage() { return page; }
    public int getPerPage() { return perPage; }
    public int getTotal() { return total; }
    public int getTotalPages() { return totalPages; }
    public Support getSupport() { return support; }

    // Support 内部类
    public static class Support {
        private String url;
        private String text;

        public String getUrl() { return url; }
        public String getText() { return text; }
    }
}